From 4d5dbcda7334c90b54ad25d828c8cf2a6433b682 Mon Sep 17 00:00:00 2001
From: Mqdd <ahmadmiqdad27@gmail.com>
Date: Fri, 19 Dec 2025 15:25:10 +0700
Subject: <Miqdad> add keyword to breadcrumb

---
 src/pages/searchkey/[slug].jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/pages/searchkey/[slug].jsx')

diff --git a/src/pages/searchkey/[slug].jsx b/src/pages/searchkey/[slug].jsx
index a23f11b0..82179b7d 100644
--- a/src/pages/searchkey/[slug].jsx
+++ b/src/pages/searchkey/[slug].jsx
@@ -85,7 +85,9 @@ export default function FindPage() {
       />
 
       {/* ✅ Breadcrumb (auto fetch via component) */}
-      {categoryId && <Breadcrumb categoryId={categoryId} />}
+      {categoryId && (
+        <Breadcrumb categoryId={categoryId} currentLabel={readableSlug} />
+      )}
 
       {/* ✅ Product result */}
       {query && <ProductSearch query={query} prefixUrl={route.asPath} />}
-- 
cgit v1.2.3

